#!/usr/bin/python
# -*- coding: utf-8 -*-

import wx
# import wx.calendar
import aux_bd
import wx.lib.mixins.listctrl as listmix
import helper


class Presupuesto(wx.Panel):
    def __init__(self, parent):
        wx.Panel.__init__(self, parent)
        self.SetBackgroundColour((150, 150, 150))
        
        wx.StaticText(self, label="Presupuesto", pos=(70, 30))

        self.ln = wx.StaticLine(self, -1, pos=(0, 50), style=wx.LI_VERTICAL)
        self.ln.SetSize((800, 3))
        
        #cargar una caja
        self.sb = wx.StaticBox(self, pos=(50, 60))
        self.sb.SetSize((700, 225))

        """
        Esta pagina es para buscar generar presupuesto a cliente
        """

        wx.StaticText(self, label="Clientes", pos=(70, 100))
        wx.StaticText(self, label="Fecha", pos=(70, 150))
        wx.StaticText(self, label="Productos", pos=(70, 200))


        self.tx1 = wx.TextCtrl(self, size=(150, 25), pos=(200, 100))
        self.tx2 = wx.TextCtrl(self, size=(150, 25), pos=(200, 150))
        self.tx3 = wx.TextCtrl(self, size=(150, 25), pos=(200, 200))
        self.tx4 = wx.TextCtrl(self, size=(150, 25), pos=(200, 250))
        self.tx5 = wx.TextCtrl(self, size=(150, 25), pos=(200, 300))
        self.tx6 = wx.TextCtrl(self, size=(150, 25), pos=(200, 350))
        self.tx7 = wx.TextCtrl(self, size=(150, 25), pos=(200, 400))
        self.tx32 = wx.TextCtrl(self, size=(35, 25), pos=(200, 200))
        self.tx42 = wx.TextCtrl(self, size=(35, 25), pos=(200, 250))
        self.tx52 = wx.TextCtrl(self, size=(35, 25), pos=(200, 300))
        self.tx62 = wx.TextCtrl(self, size=(35, 25), pos=(200, 350))
        self.tx72 = wx.TextCtrl(self, size=(35, 25), pos=(200, 400))




        self.b1 = wx.Button(self, label='Buscar', pos=(350, 145), size=(100,30))
        self.b1.Bind(wx.EVT_BUTTON, self.onClick)

        
    def onClick(self, event):
        pass
    

        

        self.cb1.SetValue(False)
        self.cb2.SetValue(False)
        self.cb3.SetValue(False)